package org.openfidias.jdbase.db;

/**
 *
 * @author atila
 */
public abstract class Register {

   /**
    * determine if the atribute is logical deleted
    * 0 for false, 1 for true
    */
   protected short deleted = 0;

   public short getDeleted() {
      return deleted;
   }

   public void setDeleted(short deleted) {
      this.deleted = deleted;
   }
   
   public boolean isNotDeleted() {
      if (deleted == 0) {
         return true;
      }
      return false;
   }
}
